package cn.ecut.tbjie.model;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * people
 * @author 
 */
@Data
@ApiModel("用户实体类")
public class People implements Serializable {

    @ApiModelProperty(value = "用户标识id，系统生成，无需填写")
    private Integer peopleId;

    @ApiModelProperty(value = "用户姓名，唯一且非空" , required = true)
    private String peopleName;

    @ApiModelProperty(value = "用户编号（学号），唯一且非空", required = true)
    private String peopleNum;

    @ApiModelProperty(value = "用户密码，需加密，非空" ,required = true)
    private String peoplePsw;

    @ApiModelProperty(value = "核心码(随机插入位数组）， 系统生成，无需填写")
    private String peopleCoreNum;

    @ApiModelProperty("联系电话")
    private String peoplePhone;

    @ApiModelProperty("用户邮箱")
    private String peopleEmail;

    @ApiModelProperty("QQ号")
    private String peopleQq;

    @ApiModelProperty("班级编号")
    private String peopleClazz;

    @ApiModelProperty("用户性别，限定：男 or 女（前端给限制）")
    private String peopleGender;

    @ApiModelProperty("冗余字段，字符串类型，以json格式存储")
    private String peopleInfo;

    @ApiModelProperty("token")
    private Tokens token;

    private static final long serialVersionUID = 1L;
}